package com.javachmapi.pay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "pay.wechat")
public class WechatConfig {

    /**
     * 开放平台密钥
     */
    private String mpAppId;

    /**
     * 微信支付密钥
     */
    private String mpAppSecret;
    /**
     * 开放平台id
     */
    private String openAppId;

    /**
     * 开放平台密钥
     */
    private String openAppSecret;

    /**
     * 微信支付商户号
     */
    private String mchId;

    /**
     * 微信支付密钥
     */
    private String mchKey;

    /**
     * 微信支付回调地址
     */
    private String notifyUrl;
}
